package com.zz.info.service;

import com.zz.info.domain.UsercollectionDO;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * 信息发布内容 的用户收藏
 * 
 * @author jwh
 * @email 1304058324@qq.com
 * @date 2020-12-06 18:20:48
 */
public interface UsercollectionService {
	
	UsercollectionDO get(String userId);
	
	List<UsercollectionDO> list(Map<String, Object> map);

	int count(Map<String, Object> map);


	int save(UsercollectionDO usercollection);
	
	int update(UsercollectionDO usercollection);
	int toggleCollection(Long contentId, String userId);

	int remove(String userId);
	
	int batchRemove(String[] userIds);

	HashMap apiGetIndex(String userId, int pageSize, int pageIndex);


}
